package com.example.jedis.client.transport;

import code.example.tool.LogFactory;
import redis.clients.jedis.exceptions.JedisException;

import java.io.IOException;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.SocketOption;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.util.Set;

public interface RedisTransport {
    public int  write(ByteBuffer byteBuffer);
    public int  read(ByteBuffer byteBuffer);
    public ByteBuffer   read();

}
